package com.itheima.bean;

public class Student {
    private int sid;
    private String password;

    public Student() {
    }

    public Student(int sid, String password) {
        this.sid = sid;
        this.password = password;
    }

    public int getSid() {
        return sid;
    }

    public void setSid(int sid) {
        this.sid = sid;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    @Override
    public String toString() {
        return "Student{" +
                "sid=" + sid +
                ", password='" + password + '\'' +
                '}';
    }
}
